﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AutoPartsSearch.Domain.Entities;
using AutoPartsSearch.Domain.Entities.Enums;
using Griffin.MvcContrib.Localization;

namespace AutoPartsSearch.Web.Areas.Administration.Models.Dictionary
{
    [Localized]
    public class DictionaryModel
    {
        [HiddenInput(DisplayValue = false)]
        public int? Id { get; set; }
        [UIHint("Enum")]
        [Required]
        public DictionaryType Type { get; set; }
        [Required]
        public string Ru { get; set; }

        public string Ro { get; set; }

        public string En { get; set; }

        public int? ParentId { get; set; }

        public int? AdditionalParentId { get; set; }
    }
}